﻿using System;
using System.Collections.Generic;

namespace ToDoList.Logic
{
    public class Data
    {
        public static List<User> Users;
        public static List<Inventory> Inventories = new List<Inventory>();
        public static List<Matter> Matters = new List<Matter>();
        public Data()
        {
            Users = new List<User>()
            {
                new User()
                {
                    UserID = 1,
                    PassWord = "123456",
                    Inventories = new List<Inventory>()
                    {
                        new Inventory()
                        {
                            UserID = 1,
                            InventoryID = 1
                        }
                    },
                    Matters = new List<Matter>()
                    {
                        new Matter()
                        {
                            UserID = 1,
                            InventoryID = 1
                        }
                    }
                }
            };

            Inventories = new List<Inventory>()
            {
                
            };

            Matters = new List<Matter>()
            {
                
            };
        }
    }
}
